300
How do I change the cell's foreground color
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Cell 1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Cell 2");
		com_Items.CellForeColor(h,COMVariant::createFromInt(1),WinApi::RGB2int(255,0,0));
}
299
How do I change the visual effect for the cell, using your EBN files
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Cell 1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Cell 2");
		com_Items.CellBackColor(h,COMVariant::createFromInt(1),0x1000000);
}
298
How do I change the cell's background color
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Cell 1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Cell 2");
		com_Items.CellBackColor(h,COMVariant::createFromInt(1),WinApi::RGB2int(255,0,0));
}
297
How do I change the caption or value for a particular cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Cell 1"),COMVariant::createFromInt(1),"Cell 2");
}
296
How do I get the handle of the cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.CellBold(,com_Items.ItemCell(h,COMVariant::createFromInt(0)),true);
}
295
How do I retrieve the focused item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.ItemBold(com_Items.FocusItem(),true);
}
294
How do I get the number or count of child items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.AddItem(com_Items.ChildCount(h));
}
293
How do I enumerate the visible items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.ItemBold(com_Items.FirstVisibleItem(),true);
		com_Items.ItemBold(com_Items.NextVisibleItem(com_Items.FirstVisibleItem()),true);
}
292
How do I enumerate the siblings items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.ItemBold(com_Items.NextSiblingItem(com_Items.FirstVisibleItem()),true);
		com_Items.ItemBold(com_Items.PrevSiblingItem(com_Items.NextSiblingItem(com_Items.FirstVisibleItem())),true);
}
291
How do I get the parent item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.ItemBold(com_Items.ItemParent(com_Items.ItemChild(h)),true);
}
290
How do I get the first child item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.ItemBold(com_Items.ItemChild(h),true);
}
289
How do I enumerate the root items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ItemBold(com_Items.RootItem(0),true);
		com_Items.ItemUnderline(com_Items.RootItem(1),true);
}
288
I have a hierarchy, how can I count the number of root items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.AddItem(com_Items.RootCount());
}
287
How can I make an item unselectable, or not selectable
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("unselectable - you can't get selected");
		com_Items.SelectableItem(h,false);
		com_Items.AddItem("selectable");
}
286
How can I hide or show an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Column");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("hidden");
		com_Items.ItemHeight(h,0);
		com_Items.SelectableItem(h,false);
		com_Items.AddItem("visible");
}
285
How can I change the height for all items
public void init()
{
	;

	super();

	exg2antt1.DefaultItemHeight(32);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem("One");
	exg2antt1.Items().AddItem("Two");
}
284
How do I change the height of an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.ScrollBySingleLine(true);
	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem("height"),128);
	exg2antt1.Items().AddItem("enabled");
}
283
How do I disable or enable an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.EnableItem(com_Items.AddItem("disabled"),false);
	exg2antt1.Items().AddItem("enabled");
}
282
How do I display as strikeout a cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellStrikeOut(com_Items.AddItem("strikeout"),COMVariant::createFromInt(0),true);
}
281
How do I display as strikeout a cell or an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("gets <s>strikeout</s> only a portion of text"),COMVariant::createFromInt(0),1/*exHTML*/);
}
280
How do I display as strikeout an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemStrikeOut(com_Items.AddItem("strikeout"),true);
}
279
How do I underline a cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellUnderline(com_Items.AddItem("underline"),COMVariant::createFromInt(0),true);
}
278
How do I underline a cell or an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("gets <u>underline</u> only a portion of text"),COMVariant::createFromInt(0),1/*exHTML*/);
}
277
How do I underline an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemUnderline(com_Items.AddItem("underline"),true);
}
276
How do I display as italic a cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellItalic(com_Items.AddItem("italic"),COMVariant::createFromInt(0),true);
}
275
How do I display as italic a cell or an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("gets <i>italic</i> only a portion of text"),COMVariant::createFromInt(0),1/*exHTML*/);
}
274
How do I display as italic an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemItalic(com_Items.AddItem("italic"),true);
}
273
How do I bold a cell
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellBold(com_Items.AddItem("bold"),COMVariant::createFromInt(0),true);
}
272
How do I bold a cell or an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValueFormat(com_Items.AddItem("gets <b>bold</b> only a portion of text"),COMVariant::createFromInt(0),1/*exHTML*/);
}
271
How do I bold an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemBold(com_Items.AddItem("bold"),true);
}
270
How do I change the foreground color for the item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemForeColor(hC,WinApi::RGB2int(255,0,0));
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
269
How do I change the visual appearance for the item, using your EBN technology

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exg2antt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,0x1000000);
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
268
How do I change the background color for the item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Child 1");
		com_Items.ItemBackColor(hC,WinApi::RGB2int(255,0,0));
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
267
How do I expand or collapse an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
266
How do I associate an extra data to an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemData(com_Items.AddItem("item"),"your extra data");
}
265
How do I get the number or count of items
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.AddItem(com_Items1.ItemCount());
}
264
How can I specify the width of the ActiveX control, when using the InsertControlItem property
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.ScrollBySingleLine(false);
	exg2antt1.TreeColumnIndex(1);
	exg2antt1.DrawGridLines(-1/*exAllLines*/);
	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	exg2antt1.Columns().Add("C3");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.InsertControlItem(,"MSCAL.Calendar");
		com_Items.ItemWidth(h,128);
		com_Items.CellValue(h,COMVariant::createFromInt(0),"This is a bit of text that is shown in the first column");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.CellValue(h,COMVariant::createFromInt(2),"This is a bit of text that is shown in the third column");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(2),false);
}
263
How can I put the ActiveX control in a different column, when using the InsertControlItem property
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.ScrollBySingleLine(false);
	exg2antt1.DrawGridLines(-1/*exAllLines*/);
	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	exg2antt1.Columns().Add("C3");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.InsertControlItem(,"MSCAL.Calendar");
		com_Items.CellValue(h,COMVariant::createFromInt(0),"This is a bit of text that is shown in the first column");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(0),false);
		com_Items.ItemWidth(h,-32001);
		com_Items.CellValue(h,COMVariant::createFromInt(2),"This is a bit of text that is shown in the third column");
		com_Items.CellSingleLine(h,COMVariant::createFromInt(2),false);
}
262
Is there any function I can use to get the program or the control identifier I've been using when called the InsertControlItem
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	exg2antt1.ScrollBySingleLine(false);
	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.InsertControlItem(,"MSCAL.Calendar");
		com_Items.InsertItem(h,,COMVariant::createFromStr(com_Items.ItemControlID(h)));
		com_Items.ExpandItem(h,true);
		h = com_Items.InsertControlItem(,"MSChart20Lib.MSChart");
		com_Items.ItemAppearance(h,4/*Etched*/);
		com_Items.InsertItem(h,,COMVariant::createFromStr(com_Items.ItemControlID(h)));
		com_Items.ExpandItem(h,true);
}
261
How can I change the height of newly created ActiveX control, using the InsertControlItem
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	exg2antt1.ScrollBySingleLine(false);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.InsertControlItem(,"MSCAL.Calendar"),64);
		com_Items.ItemAppearance(com_Items.InsertControlItem(,"MSChart20Lib.MSChart"),4/*Etched*/);
}
260
How can I change the border for newly created ActiveX control, using the InsertControlItem
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.Columns().Add("Default");
	exg2antt1.ScrollBySingleLine(false);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.ItemAppearance(com_Items.InsertControlItem(,"MSCAL.Calendar"),2/*Sunken*/);
		com_Items.ItemAppearance(com_Items.InsertControlItem(,"MSChart20Lib.MSChart"),4/*Etched*/);
}
259
How can I access the properties and methods for an ActiveX control that I've just added using the InsertControlItem
public void init()
{
	COM com_Calendar,com_Items;
	anytype var_Calendar,var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		// Add 'Microsoft Calendar Control 2007(MSCAL.OCX)' reference to your project.
		var_Calendar = com_Items.ItemObject(com_Items.InsertControlItem(h,"MSCAL.Calendar")); com_Calendar = var_Calendar;
			com_Calendar.BackColor(WinApi::RGB2int(255,255,255));
			com_Calendar.GridCellEffect(0);
			com_Calendar.ShowTitle(false);
			com_Calendar.ShowDateSelectors(false);
		com_Items.ExpandItem(h,true);
}
258
How can I access the properties and methods for an ActiveX control that I've just added using the InsertControlItem
public void init()
{
	COM com_Calendar,com_Items;
	anytype var_Calendar,var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		// Add 'Microsoft Calendar Control 2007(MSCAL.OCX)' reference to your project.
		var_Calendar = com_Items.ItemObject(com_Items.InsertControlItem(h,"MSCAL.Calendar")); com_Calendar = var_Calendar;
			com_Calendar.BackColor(WinApi::RGB2int(255,255,255));
		com_Items.ExpandItem(h,true);
}
257
How can I insert an ActiveX control
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertControlItem(h,"MSCAL.Calendar");
		com_Items.ExpandItem(h,true);
}
256
How can I change at runtime the parent of the item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int hC,hP;
	;

	super();

	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		hP = com_Items.AddItem("Root");
		hC = com_Items.AddItem("Child");
		com_Items.SetParent(hC,hP);
}
255
How can I sort the items
public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	var_Column = COM::createFromObject(exg2antt1.Columns()).Item("Default"); com_Column = var_Column;
	com_Column.SortOrder(2/*SortDescending*/);
}
254
How do I sort the child items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		com_Items.SortChildren(h,COMVariant::createFromInt(0),false);
}
253
How can I ensure or scroll the control so the item fits the control's client area
public void init()
{
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	h = exg2antt1.Items().AddItem("item");
	exg2antt1.Items().EnsureVisibleItem(h);
}
252
How can I remove or delete all items
public void init()
{
	;

	super();

	exg2antt1.Columns().Add("Default");
	exg2antt1.Items().AddItem("removed item");
	exg2antt1.Items().RemoveAllItems();
}
251
How can I remove or delete an item
public void init()
{
	int h;
	;

	super();

	exg2antt1.Columns().Add("Default");
	h = exg2antt1.Items().AddItem("removed item");
	exg2antt1.Items().RemoveItem(h);
}
250
How can I add or insert child items
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Cell 1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Cell 2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Cell 3"),COMVariant::createFromInt(1),"Cell 4");
		com_Items.CellValue(com_Items.InsertItem(h,,"Cell 5"),COMVariant::createFromInt(1),"Cell 6");
		com_Items.ExpandItem(h,true);
}
249
How can I add or insert a child item
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exg2antt1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exg2antt1.Columns().Add("Default");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.InsertItem(com_Items.AddItem("root"),,"child");
}
248
How can I add or insert an item
public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exg2antt1.Columns().Add("C1");
	exg2antt1.Columns().Add("C2");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Cell 1"),COMVariant::createFromInt(1),"Cell 2");
		h = com_Items.AddItem("Cell 3");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"Cell 4");
}
247
How can I add or insert an item
public void init()
{
	;

	super();

	exg2antt1.Columns().Add("Default");
	exg2antt1.Items().AddItem("new item");
}
246
How can I get the columns as they are shown in the control's sortbar
public void init()
{
	COM com_Object;
	anytype var_Object;
	;

	super();

	var_Object = COM::createFromObject(exg2antt1.Columns()).ItemBySortPosition(COMVariant::createFromInt(0)); com_Object = var_Object;
}
245
How can I access the properties of a column
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exg2antt1.Columns().Add("A");
	var_Column = COM::createFromObject(exg2antt1.Columns()).Item("A"); com_Column = var_Column;
	com_Column.HeaderBold(true);
}
244
How can I remove all the columns
public void init()
{
	;

	super();

	exg2antt1.Columns().Clear();
}
243
How can I remove a column
public void init()
{
	;

	super();

	exg2antt1.Columns().Remove("A");
}
242
How can I get the number or the count of columns
public void init()
{
	int var_Count;
	;

	super();

	var_Count = exg2antt1.Columns().Count();
}
241
How can I change the font for all cells in the entire column
public void init()
{
	COM com_ConditionalFormat,com_f;
	anytype f,var_ConditionalFormat;
	;

	super();

	f = COM::createFromObject(new stdole.StdFont()); com_f = f;
		f.Name("Tahoma");
		f.Size(12);
	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Font(f);
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
240
How can I change the background color for all cells in the column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.BackColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
239
How can I change the foreground color for all cells in the column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
238
How can I show as strikeout all cells in the column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.StrikeOut(true);
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
237
How can I underline all cells in the column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Underline(true);
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
236
How can I show in italic all data in the column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Italic(true);
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
235
How can I bold the entire column
public void init()
{
	COM com_ConditionalFormat;
	anytype var_ConditionalFormat;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("1"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ApplyTo(0/*exFormatToColumns*/);
	exg2antt1.Columns().Add("Column");
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
234
How can I display a computed column and highlight some values that are negative or less than a value
public void init()
{
	COM com_ConditionalFormat,com_Items,com_Items1;
	anytype var_ConditionalFormat,var_Items,var_Items1;
	;

	super();

	exg2antt1.Columns().Add("A");
	exg2antt1.Columns().Add("B");
	COM::createFromVariant(exg2antt1.Columns().Add("(A+B)*1.19")).ComputedField("(dbl(%0) + dbl(%1)) * 1.19");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(20));
	var_ConditionalFormat = COM::createFromObject(exg2antt1.ConditionalFormats()).Add("dbl(%2) > 10"); com_ConditionalFormat = var_ConditionalFormat;
		com_ConditionalFormat.Bold(true);
		com_ConditionalFormat.ForeColor(WinApi::RGB2int(255,0,0));
		com_ConditionalFormat.ApplyTo(2);
}
233
Can I display a computed column so it displays the VAT, or SUM
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exg2antt1.Columns().Add("A");
	exg2antt1.Columns().Add("B");
	COM::createFromVariant(exg2antt1.Columns().Add("(A+B)*1.19")).ComputedField("(dbl(%0) + dbl(%1)) * 1.19");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(20));
}
232
How can I show a column that adds values in the cells
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exg2antt1.Columns().Add("A");
	exg2antt1.Columns().Add("B");
	COM::createFromVariant(exg2antt1.Columns().Add("A+B")).ComputedField("dbl(%0) + dbl(%1)");
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),COMVariant::createFromInt(2));
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(10)),COMVariant::createFromInt(1),COMVariant::createFromInt(20));
}
231
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.FilterOnType(true);
		com_Column.DisplayFilterButton(true);
		com_Column.AutoSearch(1/*exContains*/);
	exg2antt1.Items().AddItem("Canada");
	exg2antt1.Items().AddItem("USA");
}
230
Is there any function to filter the control's data as I type, something like filter on type
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.FilterOnType(true);
		com_Column.DisplayFilterButton(true);
	exg2antt1.Items().AddItem("Canada");
	exg2antt1.Items().AddItem("USA");
}
229
How can I programmatically filter a column
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Filter")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(2/*exNonBlanks*/);
	exg2antt1.Items().AddItem();
	exg2antt1.Items().AddItem("not empty");
	exg2antt1.ApplyFilter();
}
228
How can I show or display the control's filter
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Filter")).DisplayFilterButton(true);
}
227
How can I customize the items being displayed in the drop down filter window
public void init()
{
	COM com_Column;
	anytype var_Column;
	str var_s;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Custom Filter")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		var_s = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*.t";
		var_s = var_s + "xt|*.log";
		com_Column.CustomFilter(var_s);
		com_Column.FilterType(3/*exPattern*/);
		com_Column.Filter("*.xls");
	exg2antt1.Items().AddItem("excel.xls");
	exg2antt1.Items().AddItem("word.doc");
	exg2antt1.Items().AddItem("pp.pps");
	exg2antt1.Items().AddItem("text.txt");
	exg2antt1.ApplyFilter();
}
226
How can I change the order or the position of the columns in the sort bar
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	exg2antt1.SortBarVisible(true);
	exg2antt1.SortBarColumnWidth(48);
	COM::createFromVariant(exg2antt1.Columns().Add("C1")).SortOrder(1/*SortAscending*/);
	COM::createFromVariant(exg2antt1.Columns().Add("C2")).SortOrder(2/*SortDescending*/);
	var_Column = COM::createFromObject(exg2antt1.Columns()).Item("C2"); com_Column = var_Column;
	com_Column.SortPosition(0);
}
225
How do I arrange my columns on multiple levels
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("S")).Width(32);
	COM::createFromVariant(exg2antt1.Columns().Add("Level 2")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exg2antt1.Columns().Add("Level 3")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exg2antt1.Columns().Add("Level 4")).LevelKey(COMVariant::createFromInt(1));
	COM::createFromVariant(exg2antt1.Columns().Add("Level 1")).LevelKey("2");
	COM::createFromVariant(exg2antt1.Columns().Add("Level 2")).LevelKey("2");
	COM::createFromVariant(exg2antt1.Columns().Add("Level 3")).LevelKey("2");
	COM::createFromVariant(exg2antt1.Columns().Add("Level 4")).LevelKey("2");
	COM::createFromVariant(exg2antt1.Columns().Add("E")).Width(32);
}
224
How do I arrange my columns on multiple lines
public void init()
{
	;

	super();

	exg2antt1.HeaderHeight(32);
	COM::createFromVariant(exg2antt1.Columns().Add("")).HTMLCaption("Line 1<br>Line 2");
}
223
How can I display all cells using HTML format
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("HTML")).Def(17/*exCellValueFormat*/,COMVariant::createFromInt(1));
	exg2antt1.Items().AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");
}
222
How can I display all cells using multiple lines
public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
	COM::createFromVariant(exg2antt1.Columns().Add("SingleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(true));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"this is a bit of long text that's displayed on a single line");
}
221
How do change the vertical alignment for all cells in the column
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("MultipleLine")).Def(16/*exCellSingleLine*/,COMVariant::createFromBoolean(false));
	COM::createFromVariant(exg2antt1.Columns().Add("VAlign")).Def(6/*exCellVAlignment*/,COMVariant::createFromInt(2));
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom");
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem("This is a bit of long text that should break the line"),COMVariant::createFromInt(1),"bottom");
}
220
How do change the foreground color for all cells in the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("ForeColor")).Def(5/*exCellForeColor*/,COMVariant::createFromInt(255));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
219
How do change the background color for all cells in the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("BackColor")).Def(4/*exCellBackColor*/,COMVariant::createFromInt(255));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
218
How do I show buttons for all cells in the column
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Button")); com_Column = var_Column;
		com_Column.Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
		com_Column.Def(3/*exCellButtonAutoWidth*/,COMVariant::createFromBoolean(true));
	exg2antt1.Items().AddItem(" Button 1 ");
	exg2antt1.Items().AddItem(" Button 2 ");
}
217
How do I show buttons for all cells in the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Button")).Def(2/*exCellHasButton*/,COMVariant::createFromBoolean(true));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
216
How do I display radio buttons for all cells in the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
215
How do I display checkboxes for all cells in the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
214
How can I display a tooltip when the cursor hovers the column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("tooltip")).ToolTip("This is a bit of text that is shown when user hovers the column.");
}
213
Is there any function to assign a key to a column instead using its name or capion
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Data")).Key("DKey");
	var_Column = COM::createFromObject(exg2antt1.Columns()).Item("DKey"); com_Column = var_Column;
	com_Column.Caption("new caption");
}
212
Is there any function to assign any extra data to a column
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Data")).Data("your extra data");
}
211
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Sort")).DefaultSortOrder(true);
}
210
How can I specify the maximum width for the column, if I use WidthAutoResize property
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Auto")); com_Column = var_Column;
		com_Column.WidthAutoResize(true);
		com_Column.MinWidthAutoResize(32);
		com_Column.MaxWidthAutoResize(128);
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
209
How can I specify the minimum width for the column, if I use WidthAutoResize property
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Auto")); com_Column = var_Column;
		com_Column.WidthAutoResize(true);
		com_Column.MinWidthAutoResize(32);
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
208
Is there any option to resize the column based on its data, captions
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("A")).WidthAutoResize(true);
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}
207
How can I align the icon in the column's header in the center
public void init()
{
	COM com_Column;
	anytype var_Column;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exg2antt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("")); com_Column = var_Column;
		com_Column.HeaderImage(1);
		com_Column.HeaderImageAlignment(1/*CenterAlignment*/);
}
206
How do I align the icon in the column's header to the right
public void init()
{
	COM com_Column;
	anytype var_Column;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exg2antt1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("ColumnName")); com_Column = var_Column;
		com_Column.HeaderImage(1);
		com_Column.HeaderImageAlignment(2/*RightAlignment*/);
}
205
How do I show or hide the sorting icons, but still need sorting
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Sorted")).SortOrder(1/*SortAscending*/);
	var_Column = COM::createFromObject(exg2antt1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.DisplaySortIcon(false);
}
204
How do I enable or disable the entire column
public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exg2antt1.Columns().Add("C1");
	COM::createFromVariant(exg2antt1.Columns().Add("Disabled")).Enabled(false);
	var_Items = exg2antt1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),"0.1");
	var_Items1 = exg2antt1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(1),"1.1");
}
203
How do I disable drag and drop columns
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("C1")).AllowDragging(false);
	COM::createFromVariant(exg2antt1.Columns().Add("C2")).AllowDragging(false);
}
202
How do I disable resizing a column at runtime
public void init()
{
	;

	super();

	COM::createFromVariant(exg2antt1.Columns().Add("Unsizable")).AllowSizing(false);
	exg2antt1.Columns().Add("C2");
	exg2antt1.Columns().Add("C3");
	exg2antt1.Columns().Add("C4");
}
201
How can I align the column to the right, and its caption too
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exg2antt1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Alignment(2/*RightAlignment*/);
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	exg2antt1.Items().AddItem(COMVariant::createFromInt(0));
	exg2antt1.Items().AddItem(COMVariant::createFromInt(1));
}